package com.zdkj.admin.api.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * 车站人员在岗信息表
 *
 * @author cuilei
 * @date 2020-06-04 10:30:20
 */
@Data
@ApiModel(value = "车站人员在岗信息表")
public class SwPmStationPersonGuard extends Model<SwPmStationPersonGuard> {
    private static final long serialVersionUID = 1L;

    /**
     * 唯一标识
     */
    @ApiModelProperty(value = "唯一标识")
    private Integer id;
    /**
     * 线路编码
     */
    @ApiModelProperty(value = "线路编码")
    private String lineCode;
    /**
     * 车站编码
     */
    @ApiModelProperty(value = "车站编码")
    private String stationCode;
    /**
     * 车站人员工号
     */
    @ApiModelProperty(value = "车站人员工号")
    private String userCode;
    /**
     * 在岗状态:0:未在岗;1:在岗
     */
    @ApiModelProperty(value = "在岗状态:0:未在岗;1:在岗")
    private String guardStatus;
    /**
     * 操作时间
     */
    @ApiModelProperty(value = "操作时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime operationTime;
}
